package xnet
{
	import flash.events.EventDispatcher;
	
	import xnet.core.NetService;
	
	public class SocketManager extends EventDispatcher
	{	
		public function SocketManager()
		{
		}
		
		static private var _instance:SocketManager;
		static public function get instance():SocketManager{
			_instance=_instance||new SocketManager;
			return _instance;
		}
		
		
		public var token:String;
		
		private var _socketServer:NetService;
	}
}